/***
 * 我的资源list
 */
var MyResList = new Pearlsen.BaseList({
	gridId:'myResGrid',
	advSearchId:'advSearchWin1',
	module:'我的项目',
	modulePath:'/pages/rms/myres/',
	moduleName:'MyRes',
	idProperty:'resId',
	nameProperty:'resName',
	dataSetHandler:'MyResDataSetHandler',
	queryHandler:'MyResQueryHandler',
	renderStatus:function(value){
		var color=['green','red'];
		var arr=['运行中','已停止'];
		try{
			var intIndex = parseInt(value);
			return '<span style=\'color:'+color[intIndex]+';\'>'+arr[intIndex]+'</span>';
		}catch(e){
		}
        return "";
	}
});
